package com.chaos.framework.starter.config.thread;

public enum ThreadPoolTypeEnum {
    /**
     * 线程池枚举类型 1、IO密集型，2、CPU密集型
     */
    IO_INTENSIVE(1, "IO密集型"),
    CPU_INTENSIVE(2, "CPU密集型");

    public final Integer code;
    public final String type;

    ThreadPoolTypeEnum(Integer code, String type) {
        this.code = code;
        this.type = type;
    }

}
